(function($){
	
    $(function(){
    	
    	$('.timepicker')[0] && $('.timepicker').ptTimeSelect();
    	
		//添加中奖用户
        $('#addAwardUser').dialog({
            autoOpen: false,
            height: 300,
            width: 420,
            modal: true,
            buttons: {
                '确定': function(){
                    $(this).dialog('close');
                }
            }
        });
        
        $('.add-award-user-link').click(function(e){
            e.preventDefault();
            $('#addAwardUser').dialog('open');
        });
        
    })

})(jQuery);